<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class ComponentController</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class ComponentController</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_controllers---ComponentController.php.html">/controllers/ComponentController.php</a> (line <span class="field">3</span>)
		</p>
		
				
		<pre>Zend_Controller_Action
   |
   --<a href="../default/GenesisController.html">GenesisController</a>
      |
      --ComponentController</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																												
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentsListAction" title="details" class="method-name">getComponentsListAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentsUsageListAction" title="details" class="method-name">getComponentsUsageListAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#insertComponentUsageRowAction" title="details" class="method-name">insertComponentUsageRowAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#installAllComponentsInComponentsDirAction" title="details" class="method-name">installAllComponentsInComponentsDirAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#listComponentsAction" title="details" class="method-name">listComponentsAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#listComponentsUsageAction" title="details" class="method-name">listComponentsUsageAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setComponentsUsageListAction" title="details" class="method-name">setComponentsUsageListAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#uploadAction" title="details" class="method-name">uploadAction</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../default/GenesisController.html">GenesisController</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_acl">GenesisController::$_acl</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_actionName">GenesisController::$_actionName</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_config">GenesisController::$_config</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_controllerName">GenesisController::$_controllerName</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_defaults">GenesisController::$_defaults</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_registry">GenesisController::$_registry</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodgetComponentsListAction" id="getComponentsListAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getComponentsListAction</span> (line <span class="line-number">196</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets component list from db according to page, rows, sidx and sord.</p>
<p class="description"><p>Requires: _REQUEST['page'] , _REQUEST['rows']            _REQUEST['sidx'] , _REQUEST['sord']</p><p>Returns: Array where 'page'    =&gt; Page number                       'total'   =&gt; Total number of pages                       'records' =&gt; Total number of rows                       'rows'    =&gt; Component usage rows as an Array           Returned as json message in $view-&gt;jsonMessage</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentsListAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetComponentsUsageListAction" id="getComponentsUsageListAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getComponentsUsageListAction</span> (line <span class="line-number">142</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets component usage list from db according to page, rows, sidx and sord.</p>
<p class="description"><p>Requires: _REQUEST['page'] , _REQUEST['rows']            _REQUEST['sidx'] , _REQUEST['sord']</p><p>Returns: Array where 'page'    =&gt; Page number                       'total'   =&gt; Total number of pages                       'records' =&gt; Total number of rows                       'rows'    =&gt; Component usage rows as an Array           Returned as json message in $view-&gt;jsonMessage</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentsUsageListAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number">8</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Inits the controller and appends requried js files to headscript.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../default/GenesisController.html#methodinit">GenesisController::init()</a></dt>
					</dl>
			
	</div>
<a name="methodinsertComponentUsageRowAction" id="insertComponentUsageRowAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">insertComponentUsageRowAction</span> (line <span class="line-number">23</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Inserts a component usage row.</p>
<p class="description"><p>Requires:_REQUEST['component_id']        , _REQUEST['component_enabled']           _REQUEST['component_top']       , _REQUEST['component_left']           _REQUEST['component_height']    , _REQUEST['component_width']           _REQUEST['component_theme_name'], _REQUEST['component_label']  Optional:_REQUEST['params'] array of params</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			insertComponentUsageRowAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodinstallAllComponentsInComponentsDirAction" id="installAllComponentsInComponentsDirAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">installAllComponentsInComponentsDirAction</span> (line <span class="line-number">394</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Install all available components that reside in components directory.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			installAllComponentsInComponentsDirAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodlistComponentsAction" id="listComponentsAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">listComponentsAction</span> (line <span class="line-number">67</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">List components action - loads required css and js for view.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			listComponentsAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodlistComponentsUsageAction" id="listComponentsUsageAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">listComponentsUsageAction</span> (line <span class="line-number">241</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">List components usages action - loads required css and js for view, and  loads required vars for displaying the view.</p>
<p class="description"><p>Returns:     $this-&gt;view-&gt;components - Array of components names               $this-&gt;view-&gt;themes     - Array of theme names               $this-&gt;view-&gt;jqGridTheme- Current selected theme name</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			listComponentsUsageAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetComponentsUsageListAction" id="setComponentsUsageListAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setComponentsUsageListAction</span> (line <span class="line-number">89</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Handler for add, del, and edit action of jqGrid componentsUsageTable.</p>
<p class="description"><p>Requires: _REQUEST['component_name'] , _REQUEST['enabled']            _REQUEST['height']         , _REQUEST['width']            _REQUEST['id']             , _REQUEST['left']            _REQUEST['top']            , _REQUEST['theme_name']            _REQUEST['label']          , _REQUEST['params'],            _REQUEST['oper'] - operation to perform</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setComponentsUsageListAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoduploadAction" id="uploadAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">uploadAction</span> (line <span class="line-number">423</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Uploads a component archive and unpacks it.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			uploadAction
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../default/GenesisController.html">GenesisController</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../default/GenesisController.html#methodinit">GenesisController::init()</a></span><br>
													<span class="method-name"><a href="../default/GenesisController.html#methodpreDispatch">GenesisController::preDispatch()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 30 Oct 2009 19:32:33 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>